From 38a5cf20627efd74d101694fda3c59667f14b737 Mon Sep 17 00:00:00 2001 From: oliskoli Date: Sun, 22 Jan 2006 18:15:45 +0000 Subject: [PATCH] Added shell command "cat" (will become "TYPE"). git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@1707 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/mingw/mkwintesto.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/gpsbabel/mingw/mkwintesto.c b/gpsbabel/mingw/mkwintesto.c index 3b25829d4..005f850ad 100644 --- a/gpsbabel/mingw/mkwintesto.c +++ b/gpsbabel/mingw/mkwintesto.c @@ -321,6 +321,17 @@ int argc, iTranslateQuotes = 1; iQuoteCount = 1; } + /* Is this one of the test sequences where we prepare some data? */ + if (strncmp("cat ",acLineIn,4) == 0) { + if (iEchoLevel > 0) { + f_outputLine(pfTestoOut, "@echo off"); + f_outputLine(pfTestoOut, "@echo."); + iEchoLevel = 0; + } + iStart = 4; + strcat(acLineOut, "TYPE "); + iTarget = 5; + } /* Is this one of the test sequences where we prepare some data by using sed? */ /* we only cater for sed that removes lines - this is only windows after all */ if (strncmp("sed '/^L",acLineIn,8) == 0) { -- 2.30.2